package com.xuecheng.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("mq_message_history")
public class MqMessageHistory implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 消息id
	 */
	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private Long id;
	
	/**
	 * 消息类型代码
	 */
	private String messageType;
	
	/**
	 * 关联业务信息
	 */
	private String businessKey1;
	
	/**
	 * 关联业务信息
	 */
	private String businessKey2;
	
	/**
	 * 关联业务信息
	 */
	private String businessKey3;
	
	/**
	 * 执行次数
	 */
	private Integer executeNum;
	
	/**
	 * 处理状态，0:初始，1:成功，2:失败
	 */
	private Integer state;
	
	/**
	 * 回复失败时间
	 */
	private LocalDateTime returnfailureDate;
	
	/**
	 * 回复成功时间
	 */
	private LocalDateTime returnsuccessDate;
	
	/**
	 * 回复失败内容
	 */
	private String returnfailureMsg;
	
	/**
	 * 最近执行时间
	 */
	private LocalDateTime executeDate;
	
	private String stageState1;
	
	private String stageState2;
	
	private String stageState3;
	
	private String stageState4;
	
	
}
